/**
 * @Author: liutao
 * @Date:   2017-03-30T13:59:18+08:00
 * @Email:  947809647@qq.com
 * @Last modified by:   liutao
 * @Last modified time: 2017-04-20T19:31:22+08:00
 */

export default (Vue) => {
  Vue.filter('getSecurityType', (type) => {
    let stkcodeType = ''
    switch (type) {
      case '01':
        stkcodeType = '国信'
        break
      case '02':
        stkcodeType = '长城'
        break
      case '06':
        stkcodeType = '港股'
        break
      default:
    }
    return stkcodeType
  })
}
